import { defineStore } from 'pinia'
export const useUserInfo = defineStore('userInfo', {
    state: () => {
        return {
            userInfo: {
                userName: ''
            }
        }
    },
    persist: {
        enabled: true,
        strategies: {
            storage: localStorage,
            paths: ['userInfo']
        }
    }
})